package com.jash.networkpack;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

public interface HttpService {
    @GET("article/list/text")
    Call<Entity> getText(@Query("page") int p);
    @GET("article/list/text")
    Observable<Entity> getRxJava(@Query("page") int p);
}
